﻿#ifndef STYLE_H
#define STYLE_H
#include <QtWidgets>
#include <QtCore>
#include <QtGui>
#include <QFile>
#include <QObject>
#include <QPalette>
#include <QElapsedTimer>

class Style : public QObject
{
    Q_OBJECT

public:
    enum StyleType { Dark, Light, BLUE, NONE };

public:
    static void LoadStyle(StyleType type = StyleType::NONE);

public:
    static const QString DARKSTYLE;
    static const QString LIGHTSTYLE;
    static const QString BLUESTYLE;
    static const QString NONESTYLE;

private:
    static QString LoadQSS(const QString& filePath);
};
#endif
